package cn.bugstack.domain.strategy.service.rule.chain;

import cn.bugstack.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @author 19872
 * 责任链接口
 */
public interface ILogicChain extends ILogicChainArmory {

    /**
     * 责任链接口
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return awardId   奖品ID
     */
    DefaultChainFactory.StrategyAwardVo logic(String userId, Long strategyId);


}
